import { z } from "zod";
export const menuCreateSchema = z.object({
  _id: z.string().optional(),
  label: z.string(),
  path: z.string(),
  icon: z.string().optional(),
  order: z.number().optional(),
  parentId: z.string().optional(),
});
export const menuUpdateSchema = menuCreateSchema.omit({});
export type MenuCreateType = z.infer<typeof menuCreateSchema>;
